﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AlbumDetail.ascx.vb" Inherits="Control_Contents_AlbumDetail" %>
<%@ Import Namespace="Cls_Common" %>

<link href='<%=ResolveUrl("~/Styles/jquery.ad-gallery.css")%>' rel="stylesheet" type="text/css" />
<script src='<%=ResolveUrl("~/Scripts/jquery.ad-gallery.js")%>' type="text/javascript"></script>

<script type="text/javascript">

    $(function () {

        var galleries = $('.ad-gallery').adGallery();

        $('#switch-effect').change(
      function () {
          galleries[0].settings.effect = $(this).val();
          return false;
      }
      );

        $('#toggle-slideshow').click(
      function () {
          galleries[0].slideshow.toggle();
          return false;
      }
    );
        $('#toggle-description').click(
      function () {
          if (!galleries[0].settings.description_wrapper) {
              galleries[0].settings.description_wrapper = $('#descriptions');
          } else {
              galleries[0].settings.description_wrapper = false;
          }
          return false;
      }
    );
    });
    
</script>

<div class="porlet-main">



    <!--title Intro -->
    <div class="row-titlemain">
        <div class="text-titlemain">
            <img src='<%=Maindomain + "FrontEnd/images/icon_intro.png" %>' border="0" align="absmiddle">
           <asp:HyperLink ID="hplTitle" runat="server">  </asp:HyperLink></div>
    </div>
  
    <div class="text-content">

    <div class="links_views">
        <img src="<%=ResolveUrl("~/FrontEnd/images/icon_mail.gif")%>" alt="" width="18" height="18" align="absmiddle" />&nbsp;<a
            href="mailto:">Gửi Email</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="<%=ResolveUrl("~/FrontEnd/images/icon_print.gif")%>"
                alt="" width="18" height="18" align="absmiddle" />&nbsp;<a href="#" onclick="javascript:window.print()">In trang</a>
    </div>
    
    <div class="desc_news_views">
        <asp:Literal ID="ltrDescription" runat="server">Description</asp:Literal>
    </div>

    <div class="content_viewnews">
        <div id="gallery-slideshow" class="ad-gallery">
            <div class="ad-image-wrapper">
            </div>
            <div class="ad-controls">
            </div>
            <div class="ad-nav">
                <div class="ad-thumbs">
                    <ul class="ad-thumb-list">
                        <asp:Repeater ID="rptSlideShow" runat="server">
                            <ItemTemplate>    
                                <li>
                                <a href='<%# Eval("ImageUrl")%>'><img src='<%# Eval("ImageUrl")%>' alt='<%# Eval("Title")%>' class='image<%#Container.ItemIndex+1%>' />
                                </a>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
            </div>
        </div>
    </div>
        <!--tag-->
         <div class="border_bottom_news">
        
         <asp:Literal ID="ltrAuthor" runat="server"></asp:Literal>
        </div>	
    <div class="label_othernews">
        <img src="<%=ResolveUrl("~/FrontEnd/images/icon-bai-dang.png")%>" border="0">
        CÁC BÀI VIẾT KHÁC</div>


    <div class="list-views">
        <ul>
            <asp:Repeater ID="rptPortedNews" runat="server">
                <ItemTemplate>
                    <li>
                        <asp:HyperLink ID="hplTitle" runat="server"></asp:HyperLink>
                        <asp:Label ID="lblDate" runat="server" Text=""></asp:Label>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>

     <div style="width: 100%; float:left;">
            <div id="results_resultsNavigationDiv" class="paginationEMP">
                        <ul>
                            <asp:LinkButton ID="lnkFirst" runat="server" CssClass="pre" Visible="false">Trước</asp:LinkButton>
                            <asp:Repeater ID="rptPage" runat="server">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkTitle" CssClass="page_num" runat="server" OnClick="lnkTitle_Click"></asp:LinkButton>
                                </ItemTemplate>
                            </asp:Repeater>
                            <asp:LinkButton ID="lnkLast" runat="server" CssClass="next" Visible="false">Sau</asp:LinkButton>
                        </ul>
                    </div>
                    <asp:HiddenField ID="hidCount" Value="0" runat="server" />
                    <asp:HiddenField ID="hidIndex_page" Value="0" runat="server" />
                    <asp:HiddenField ID="hidCur_Page" Value="1" runat="server" />
                    <asp:HiddenField ID="hidId" Value="0" runat="server" />
     </div>
    </div>
</div>
